package com.couldsail.takeaway.service;

import com.couldsail.takeaway.pojo.dto.UserCouponReceiveDTO;
import com.couldsail.takeaway.pojo.entity.Coupon;
import com.couldsail.takeaway.pojo.vo.CouponVO;
import com.couldsail.takeaway.pojo.vo.UserCouponVO;

import java.util.List;

public interface CouponService {
    // 查询用户拥有的优惠券
    List<UserCouponVO> getUserCoupons(UserCouponReceiveDTO userCouponReceiveDTO);
    
    // 领取优惠券
    void obtainCoupon(String couponId);

    CouponVO detailCoupon(String couponId);
}